package io.renren.modules.jxgkphone.dao;

import io.renren.modules.jxgkphone.entity.CourseDate;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
吴晓东----课堂日期
 */
@Repository
@Mapper
public interface CourseDateMapper extends BaseDao<CourseDate> {
    CourseDate getCourseDateByCurDate(@Param("curDate") String curDate);
    void insertCourseDate(
            @Param("date")String date,@Param("year")String year,@Param("term")String term,
            @Param("week")String week,@Param("day")String day);
    List<CourseDate> getDaysByTermAndWeek(@Param("year")String year, @Param("term")String term, @Param("week")String week);
    void deleteByYearAndTerm(@Param("courseAcademicYear")String academicYear,@Param("courseAcademicTerm")String academicTerm);

}
